p() { for i ; do export PATH="$i":$PATH ; done ; }

p ${HOME}/bin /bin ${HOME}/.local/bin /opt/texlive/2021/bin/x86_64-linux ${HOME}/packages/dotnet/ /opt/android-sdk/emulator /opt/android-sdk/tools /opt/android-sdk/platform-tools ${HOME}/packages/matgay-r2020b/bin/ ${HOME}/packages/maple/bin /home/strlst/.local/share/WebDriverManager/bin

export EDITOR=vis

# 0 pc, 1 acer, 2 dankpad
export PERSONALDEVICE=1

export JAVA_HOME="/usr/lib/jvm/java-1.8-openjdk"
export _JAVA_AWT_WM_NONREPARENTING=1
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'

export ANDROID_HOME="/home/strlst/android-sdk"
export ANDROID_SDK_ROOT="/home/strlst/android-sdk"

export QT_SCALE_FACTOR=1
export QT_AUTO_SCREEN_SCALE_FACTOR=0
[ $PERSONALDEVICE -eq 1 ] && configtouchpad

# ocaml env
if [ $(($(xbps-query -l | grep opam | wc -l))) -eq 1 ]; then
    eval `opam config env`
fi

export TZ=Europe/Vienna
